package com.example.demo.service;

import com.example.demo.pojo.LoginRequest;
import com.example.demo.pojo.RegisterRequest;
import com.example.demo.pojo.User;
import com.example.demo.pojo.UserLog;

/**
 * @author admin
 */
public interface UserLogService {
    UserLog register(String username, String password, String email,String phone);
    UserLog login(String username, String password);
    int update(RegisterRequest request);
    int loginByPhone(LoginRequest request);

    UserLog checkCode(LoginRequest request);
}
